
.container {
  display: flex;
  background-color: #f5f7fa;
  box-sizing: border-box;
}

.table-container {
  flex: 1;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.04);
  overflow: auto;
  transition: all 0.3s ease;
}

.card-container {
  width: 25%;
  padding-left: 10px;
  position: relative;
}

.detail-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: 8px;
  border: 1px solid #ebeef5;
  background: #fff;
  box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.06);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 10px;
  font-weight: 600;
  color: #303133;
}

.detail-form {
  flex: 1;
  overflow-y: auto;
  padding: 0 15px;
}

.form-row {
  display: flex;
  gap: 15px;
}

.form-item {
  flex: 1;
}

.card-footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding: 15px 0 0;
  border-top: 1px solid #f0f0f0;
  margin-top: 10px;
}

/* 过渡动画 */
.slide-fade-enter-active {
  transition: all 0.3s ease-out;
}

.slide-fade-leave-active {
  transition: all 0.2s cubic-bezier(1, 0.5, 0.8, 1);
}

.slide-fade-enter-from,
.slide-fade-leave-to {
  transform: translateX(20px);
  opacity: 0;
}


/* 过渡动画 */
.slide-fade-top-enter-active {
  transition: all 0.3s ease-out;
}

.slide-fade-top-leave-active {
  transition: all 0.2s cubic-bezier(1, 0.5, 0.8, 1);
}

.slide-fade-top-enter-from,
.slide-fade-top-leave-to {
  transform: translateY(20px);
  opacity: 0;
}

/* 美化滚动条 */
.detail-form::-webkit-scrollbar {
  width: 6px;
}

.detail-form::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}

.detail-form::-webkit-scrollbar-thumb {
  background: #c0c4cc;
  border-radius: 3px;
}

.detail-form::-webkit-scrollbar-thumb:hover {
  background: #a8abb2;
}

.hasTagsView {
  .app-main {
    overflow: visible;
    height: calc(100vh - 84px);
  }
}